package com.mashibing.common.exception;

import lombok.Getter;

/**
 * 服务异常
 */
@Getter
public class ServiceException extends RRException{

    public ServiceException(String msg) {
        super(msg);
    }

    public ServiceException(String msg, Throwable e) {
        super(msg, e);
    }

    public ServiceException(String msg, int code) {
        super(msg, code);
    }

    public ServiceException(String msg, int code, Throwable e) {
        super(msg, code, e);
    }

    public ServiceException(RRExceptionEnum exceptionEnum) {
        super(exceptionEnum);
    }
}
